package com.xxin.module.pojo.entity;

import com.mybatisflex.annotation.Table;
import com.xxin.module.pojo.BaseEntity;
import java.io.Serializable;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;

/**
 * 用户表 实体类。
 *
 * @author lvjx
 * @since 2024-09-05
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Table("ums_user")
public class UmsUser extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 账号
     */
    private String account;

    /**
     * 微信openId
     */
    private String openId;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 用户头像URL
     */
    private String headUrl;

    /**
     * 性别 0->保密，1->男性，2->女性
     */
    private Integer sex;

    /**
     * 密码
     */
    private String password;

}
